package com.qlzb.taskmanagement.persistentData.dao;

import com.qlzb.taskmanagement.persistentData.entity.OperationActualWarn;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName OperationActualWarnDao
 * @Description TODO
 * @Authr hxq
 * @Date 2019\10\15 0015
 * @Version v2.0
 */
@Transactional
public interface OperationActualWarnDao extends CrudRepository<OperationActualWarn,Integer>, JpaSpecificationExecutor {
    void deleteByCityId(String areaId);
    Page<OperationActualWarn> findAll(Pageable pageable);
}
